package com.sinping.qh.dto.admin.record;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.sinping.qh.domain.common.UploadImage;
import com.sinping.qh.domain.common.UploadImageBase64Bean;
import com.sinping.qh.dto.base.BaseDTO;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;
import java.util.List;

/**
 * 亮点记录Dto
 *
 * @author Tiansx
 * @create 2018-06-02 10:16
 **/
@Data
public class HighLightRecordDto extends BaseDTO implements Serializable {
    private static final long serialVersionUID = -525959112433645147L;


    /**
     * 检查记录id
     */
    @JsonProperty(value = "check_id")
    private String checkId;
    /**
     * 亮点记录中的图片
     */
    @JsonProperty(value = "upload_image_list")
    private List<UploadImage> uploadImageList;

    /**
     * 亮点记录中的图片
     */
    @JsonProperty(value = "upload_image_list_base64")
    private List<UploadImageBase64Bean> uploadImageBase64;
    /**
     * 描述
     */
    @NotBlank(message = "描述不能为空")
    @JsonProperty(value = "desc")
    private String desc;
    /**
     * 创建人姓名
     */
    @JsonProperty(value = "create_user_name")
    private String createUserName;
    /**
     * 创建人id
     */
    @JsonProperty(value = "create_user_id")
    private String createUserId;
    /**
     * 修改人id
     */
    @JsonProperty(value = "update_user_id")
    private String updateUserId;


}
